<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>用户登录</title>
</head>
<body>
    <h2>用户登录</h2>
    <form action="${pageContext.request.contextPath}/login" method="POST">
        <div style="color: red;">${msg}</div>
        用户名：<input type="text" name="username"/><br/><br/>
        密码：<input type="password" name="password"/><br/><br/>
        <input type="submit" value="登录"/>
    </form>
    <p>测试账号: Zhang / 123</p>
</body>
</html>